package com.ruoyi.airspaceFlight.mapper;

import com.ruoyi.airspaceFlight.dto.req.RegisterStaisticsDto;
import com.ruoyi.airspaceFlight.dto.req.ViolationStatisticsDto;
import com.ruoyi.airspaceFlight.dto.resp.RegisterStaisticsVo;
import com.ruoyi.airspaceFlight.dto.resp.ViolationStatisticsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 统计查询接口
 */
@Mapper
public interface StatisticsMapper {

    //根据天类(违规统计)
    List<ViolationStatisticsVo> selectViolationStatisticsList(ViolationStatisticsDto violationStatisticsDto);

    //根据年月类(违规统计)
    List<ViolationStatisticsVo> selectByMonth(ViolationStatisticsDto violationStatisticsDto);

    //根据年分类(违规统计)
    List<ViolationStatisticsVo> selectByYear(ViolationStatisticsDto violationStatisticsDto);

    //根据年天类(注册统计)
    List<RegisterStaisticsVo> selectRegisterByDay(RegisterStaisticsDto registerStaisticsDto);

    //根据月类(注册统计)
    List<RegisterStaisticsVo> selectRegisterByMonth(RegisterStaisticsDto registerStaisticsDto);

    //根据年类(注册统计)
    List<RegisterStaisticsVo> selectRegisterByYear(RegisterStaisticsDto registerStaisticsDto);
}
